Strip the contents of reference fields, and lists of reference fields, so that we don't store too much in fields, and cause potential errors.