Revert "remove JSON decoding scripts"

This reverts commit b1f0c523622a20ee033135ed7ed18076c220c235.