I am trying to parse a complex json file into my application I am getting an error: The getter \'name\' isn\'t defined for the type \'List\'. I can\'t get the name of the route