fixed stdlib `json.dumps` and `json.loads`