Ildipo/jsonformat

Fix for bug #397
space after comma