bug fix to the JSON formatting of the sample