porting back to multi_json 1.2.0