Fix some bugs related to a changed json response field