Added is_friends flag to json generator