New catjson.js vector handling