add hashCode information to component metadata