Refactoring to support both Jackson versions at the same time
Test refactored so it's possible to test with different classpaths