Fix merge metadata in DataRest.