Remove charset from JSON types: not valid.

This resolves #1467.