Add convert methods in JSON parser.