support pretty=true for get_raw_json