Add JSON formatter
Use consistent variable names
Merge pull request #253 from yujinakayama/json-formatter

JSON Formatter
Fix a bunch of style issues