Metadata: add equals & hashcode