support for array of object in arguments