Issue71 contact key serialization

Closes #71. Please review.
I think its ambiguous to put things into Identities with a getter. Also this should not be changed just because the Identities class got changed. Other classes should not know the implementation.