Should probably replace this line with `as json_data` appended to the previous line.