iterate over config and namespace as objects, not arrays