Flatten overrides in url-for to be top-level keys