We just need to sacrifice n*field_count to a header describing the structure. We also need to define allowed types.