add note on scala map serialization