prevents dict_merge from making excessive copies