remove recursive call to support embedded objects as it is not necessary