changing queue response to json to allow for checking of status