Added JSON output and removed the "ROOT" prefix from the output