Remove file JSON JS functions
Revert "Remove file JSON JS functions"

This reverts commit 8c64bd1e3d3e6ac95a8c31ba5297832d23004133.