added defaults support for object and connections