added serializer interface. jstavel/edeposit.amqp.aleph#2