change input format for social suggestion graph