building nested objects with an instance of the represented_object builder if necessary