Make basic support for JSON format.