remove unused JSON TMM_*JSON enumerations
fix compile errors w/o libjansson
rename alert-json.[ch] output-json.[ch]