BUG: fix uriParameter not showing up correctly in nested paths

uriParameters did not show up in paths like this `/something/{id}/something/{foo}/bar`

In this case, uriParameters was completely empty. My code change allows both `{id}` and `{foo}` to show up.

However, I'm new to handlebars and couldn't figure out how to make this a conditional. i.e. now uriParameters show up whether it's populated or not.

Also, this is probably not the best way of doing this, so if you have a better idea and hadn't noticed the bug, you should probably scrap this ;)