add same_keys? method to Hash
add compatible? method to FormatDefinition