fix bug in config where asMap() -> fromMap() did not always yield the same configuration