updated api methods to return the builder; update the javascript model generator to translate only a set of included fields