data_relation 'collection' renamed to 'resource'