Just use the associative array key as the mission id.
Enable claiming of missions rewards.
Finally enable accepting of missions now that they are in a working/testable state.