Updates docstring in JSON.