Use to_json of pandas instead of pandasjson