Add missing return. Make Rest datasource return a copy