added Json handling and @contentType UDA

this change adds the possibility to serve arbitrary data (if convertable to `ubyte[]`) with a custom `contentType`