Fix require 'JSON' (change it to 'json')