Using Generics for Map Transformation and Bytes.immutableSortedMap
copyright fix