Bettered JSON platform with locking.
Merge pull request #160 from xi-project/json-platform-locks

Bettered JSON platform with locking.