Fix wrong YARD docs.
Encode JSON response string on Ruby 1.9.