Support for apis where the suffix always comes at the end of the path

Resources are not found if we specify paths like this
/users/{id}/roles.json

This fix enables that