Handle etag array. Closes #2162