Fixed generated route field type always expecting the key to be "route"