simplify id_to_fptrs array for faster deserialization