Adding input options to provide JSON array output and to exclude stylesheets or scripts from the output