Replaces Strings with resource references in ControllerConnection