Fixed json parsing for group creating