Changes to support the recording service via the json api