correcting JSON syntax