public static String toJSONString(Object object) {
        return JSONSerializer.serialize(object);
    }
@Test
    public void testBeanWithMapSerialization() {
        TestJsonBean bean = new TestJsonBean();
        bean.setName("xxxx");
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("key", new Object());
        bean.setMap(map);
        String jsonString = JSON.toJSONString(bean, true);
        bean.getMap().values().forEach(value -> Assert.assertEquals(value.getClass(), Object.class));
    }