There are multiple copies of `serialize_state` In some files in the corpus. Figure out why and fix it.