Prepare data on Firebase side.