Revert "Revert "made sample info look like json""

This reverts commit e78d8e2bbb9e5d93fe695fcab44eaf06193086d2.