added support for recursive onject/resource instantiation in 'params' array