fix for config object in RestConnection