Fixed bug in json file.

The locations of classes were sometimes wrong. Now fixed it.