Revert "remove unused JSON lib"

This reverts commit 79f00cdcd6d43324dd1b36196f3c1ba83e6049bb.
Revert "remove unused JSON lib"

This reverts commit 2db4b659cd5453491ad2caa4f318d27cf3b15a45.