fixed all defs that return records to by just the body of response