Make [dict replace] and [dict remove] guarantee result canonicality.