dont mutate options when cleaning for json
add charset to outgoing json content type