One way could be to move the map to BaseLog and let the streams handle the type conversion on their own. Not sure if we can implement that in a BC way