@JsonProperty
    public Map<String, Object> getFields() {
        Map<String, Object> genericFields = Maps.newHashMap();

        // strip out common "fields" that we report as individual properties
        for (Map.Entry<String, Object> entry : message.getFieldsEntries()) {
            if (!RESERVED_FIELDS.contains(entry.getKey())) {
                genericFields.put(entry.getKey(), entry.getValue());
            }

        }

        return genericFields;
    }
@Test
    public void testGetFields() throws Exception {
        assertEquals(new HashMap<String, Object>(), messageSummary.getFields());

        message.addField("foo", "bar");

        assertEquals(ImmutableMap.of("foo", "bar"), messageSummary.getFields());
    }