Low-overhead 'generic' serialized types