Enhance response handling + array tools (Set & Flat)