the new version is correct.
Those annotations are useful when doing cross conversion.
For example when writing with hive and reading with pig.
that way we capture the information that this was originally a map and use sensible conversion instead of falling back to a list of key-values