class JsonHelper {

    public Map<String, Object> getMapFromObject(Object object)
    {
        return objectMapper.convertValue(object, new TypeReference<Map<String, Object>>() {});

    }

    public  JsonHelper();

}