fixed json return of invite url