JsonTester get codec from ObjectMapperProvider

Fixes #242