Use JSON gem and update files