smaller serialization