Made library compatible to Jackson 2.2