added accuracy for template classes
json seems to have a low accuracy
activate json since most things are working
replace warning by error since otherwise shogun runs into uninitialized memory problems