fixed case of require 'json'