Serialization for maps and arrays whose sizes are larger than 16