@Inject
public JacksonJSONConverter(EnvironmentVariables environmentVariables) {
this.environmentVariables = environmentVariables;
mapper = new ObjectMapper();
mapper.registerModule(new JodaModule());
mapper.registerModule(new GuavaModule());
mapper.registerModule(new TestOutcomeModule());
mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false);
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
reader = mapper.reader(TestOutcome.class);