Php Json Encode Not Working With Array In Python