Don't set up `response_data` at the start of the function, if you're only using it in a subset of branches.