This patch adds initial support for decoding/encoding to/from the new maps data type. I'd like to thank Jihyun Yu (yjh0502) for the initial versions of this work.