Response toArray method