Replace check result dictionaries with a class.

Refs #5039