internal/router: bulk metadata API implemention

We also fix all paths so that they start with / after splitting. This makes them compatible with the usual way that paths are specified in URLs.
I am not sure I fully understand this comment. Could you clarify? Also, please add a final .