Safely backup your Firebase data with Node.js