Protect against unfilled fields in HAUser and HAAgent for serialization