created auto equals and hashcode methods of Occurence and TranslatableMessage