Move all to ES6 object literal syntax (supported by JSX harmony=true).