Add perm_id to JsonCaseContestInput.
Add __init__() to JsonableMixin.