Updated new Data API to enable specifying the merging behaviour