Extract JSON.parse out into #parse_response

This makes it easier for a base class to specify how to parse the data