saved data to JSON, now using Firebase as a data source