jackson deserialization in osgi for easier testing