support for json type