Delete import json. Several syntax changes.

Import json called twice. In first it will call an exception, if json
module not installed.
Merge pull request #9527 from UnderGreen/devel

Delete import json. Several syntax changes.