Php Pretty Print Array To String Join In Python