Php Convert Null To Empty String In Python