Ugly restructure of how to grab last response xml to pass to developer