make json valid
Merge pull request #2640 from trevor/devel

make json valid