fix for json_xxx methods to work with clob's