Add support for "text" datatypes in json output format