fix C89 builds
Free MY_CXT.sv_json on exit
Merge pull request #20 from bulk88/master

C89 fixes plus MY_CXT leak fix