Transform data into its Firebase representation, including nested objects
Uses object-to-firebase to converted nested objects and value-to-firebase to convert plain values.
$ npm install --save to-firebase
var toFirebase = require('to-firebase')
toFirebase({foo: null, bar: 'baz'})
// => {bar: 'baz'}
Returns the value that would appear in Firebase if you called ref.set(data)
Required
Type: any
The data to transform.