Added array response support