Python Create Json Object From String To Boolean