Further improved java jsonwriter performance by caching entire messages to a StringBuilder before writing to stream. Renamed writeMGenObject->writeObject