Updated SchedulerShell.php to output valid json