Issue172 add contact simplify de serialization

Closes #172.
Please merge first PR #171.
accounts, contacts, etc are container classes that have to exist nevertheless they contain items or not. The same applies for the json structure. It is always the same. E.g. if there are no account items the list of accounts is just empty: "accounts": [ ]