Forced keys of ReadOnlyMap to Dom to avoid instantiation of Dom value class.