responseInfo to object

convert responseInfo to object for more convenience