[api] Use only named routes in webui layout

This should make OBS engine-friendly. Without this change, the existent layout
cannot be reused by engines mounted on top of OBS.