fix JSONRrender's mimetype-charset-not-being-sent-because-JSONEncoder-encodes-it-to-bytes-already problem