code: private void applySerializationModifier(ObjectMapper mapper) {
  		SerializerFactory factory = BeanSerializerFactory.instance
  				.withSerializerModifier(new GenericSerializerModifier());
  		mapper.setSerializerFactory(factory);
  	}
docs: Ensure only bindable and non-cyclic bean properties are reported.
  @param mapper the object mapper