Take advantage of ES6 syntax in object literal

`{y}` is short for `{y: y}`.