strip and add quotes on ETags

reopening #586 which was closed by accident