changed return handler to JsonObject

Signed-off-by: alexlehm <alexlehm@gmail.com>