public String print(final ByteBuffer encodedMessage)
    {
        final StringBuilder sb = new StringBuilder();
        print(encodedMessage, sb);

        return sb.toString();
    }
Print an encoded message to a String.

@param encodedMessage with header in buffer.
@return encoded message in JSON format.
sbe-tool/src/main/java/uk/co/real_logic/sbe/json/JsonPrinter.java