removed things from compilation until its fixed

also added some tests to the json conversion.