deal with object instances (nested table in the resources field of an object)