Make sure that handlers always return Json::objectValue.