Use context for invitations in mock api

Match backend vocabulary