Organize generator code into libraries to support experimentation with custom marshallers