Fix a bug in FieldSearchServlet result serialization
- clean up some intermediate StringBuilders