Ildipo/jsonformat

Fix for bug #397
remove debug logging