Feature/json resource

Make it possible to fo a GET that returns handler info as JSON. It is conceptually similar to the debug request in that it does not make a subsequent upstream call. The motivation is that an application can make a call to the deviceproxy service outside the request-response loop.
if key and value aren't unicode already can't we just assume it's ascii rather than encoding back to it?