Code Style Improvements

Adapt to new code style:

1. Convert HashStyle from hash rocket to JSON-style.

Dependant on `rails-4`-merge.