fix+refactor(outputFn): crash when data was undefined
fix+refactor(outputFn): crash when data was undefined

+ Merge express and restify functions

Ensequence/express-restify-mongoose,florianholzapfel/express-restify-mongoose,qlayer/express-restify-mongoose,xdotai/express-restify-mongoose