easy response of json documents
need to implement groovy properly
call the underlying object
do not loose the reference to the req/res object when calling the interface methods
remove dependency on groovy
added a basic logger, this however is broken since it can interfere with endHandler from other middleware on the response object