Python Create Json Object And String To Int Php