ui: properly nest kv resources