Proper output in firebase data sync