public JsonOutput use(Schema<?> schema)
    {
        this.schema = schema;
        return reset();
    }
Before serializing a message/object tied to a schema, this should be called. This also resets the internal state
of this output.
protostuff-json/src/main/java/io/protostuff/JsonOutput.java