Major overhaul of CTJSON and a few minor fixes for CTBencode, CTArray, CTNumber, CTObject and CTString.