added 'json' to the list of acceptable require filetypes