replace HashMaps with LinkedHashMaps so that model elements such as resources are ordered as in the RAML file