changes output debug msgs to json