added ETag support to resources