JSON format handling.