Takes a swagger spec and converts it into a RAML JavaScript object, the same structure as produced by the RAML JavaScript parser, usually for conversion to RAML with the raml-object-to-raml module.