df_to_json() function added