Fixes parser so it adds resources to the routes too