Adding checkin and validation to Attempt.to_dict(). #133