Fixing issues with Java 8 and mixed jackson versions