fix for fromJSON with options
added Defaults property
require.resolve - added id argument
force layout defs
Initial commit of Firebase API type definitions