[imp] Update json2.js for Joomla Updater
Close #3848, close #3846