fixed NPE on RAML translation