Implemented support for JSON.