queue: make ObjectMapper configurable

This also enables the JodaModule by default for serialization (it was enabled
only for deserialization).

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>