DDF-393: Added logic to compare the AttributeFormat of MetacardTypes instead of the type itself, in order to avoid failures on Object.equals on two different instances which use the same format