Enforce $data array for object data