Remove charset from json mimetype, fixes compatibility with sinatra edge.

Set :add_charset option for old sinatra version.

Replace `unless~else` with `if~else`, remove an array.