Railsのas_jsonをもうちょっと便利に使うオプション ref: http://qiita.com/tbaba/items/ea44025b056f708ab0b4