Issue172 add contact simplify de serialization

Closes #172.
Please merge first PR #171.
This change is not needed :P