json.loads here is quite silly. wtf.