changed toString, hashCode, equals methods to investigate on some randomly failing test on CI: org.bonitasoft.engine.bpm.bar.ProcessDefinitionBARContributionTest.serializeDeserializeProcessDefinition()