returning addresses json along with groups json