Change scheduler state marshalling format to JSON.