fix bool from json to py