convert responseInfo to object for more convenience