Refactored usage of object mappers

The connection now holds the one authoritative object mapper.
The server and client do not need one specified any more.