added KBD style back
The Rails JSON encoder API requires `as_json` to take an optional arg
Don't abuse as_json, it's not meant for consumption

The `as_json` API is a hook for JSON encoders to call, not meant for
consumption like this, and the result is not guarenteed to be stable
across Rails versions.

There might be other cases like this that we should revisit later, but
this one in particular is causing a test to fail on Rails master.
Merge pull request #1706 from awesomerobot/master

added KBD style back
Merge pull request #1708 from chancancode/dont_abuse_as_json

Don't abuse as_json, it's not meant for consumption
Merge pull request #1707 from chancancode/as_json_fix

The Rails JSON encoder API requires `as_json` to take an optional arg
Merge branch 'master' of https://github.com/discourse/discourse
lemons updated