@Override protected void marshalEntry( HierarchicalStreamWriter writer, MarshallingContext context, Entry entry) { if (entry.getKey() instanceof String) { marshalStringKey(writer, context, entry); } else { super.marshalEntry(writer, context, entry); } }