ToJsonObject() methods and JsonHandler helper