added firebase_csv_json functions