ToObject populates properties