Fix invalid json.

Should not have trailing space.
Merge pull request #7221 from Carreau/master

Fix invalid json in doc