@Override
  public void encode(Object object, Type bodyType, RequestTemplate template) {
    try {
      if (bodyType == byte[].class) {
        template.body(mapper.asBytes(object), null);
      } else {
        template.body(mapper.asString(object));
      }
    } catch (IOException e) {
      throw new EncodeException(e.getMessage(), e);
    }
  }
Construct with a series of {@link JacksonJrExtension} objects that are registered into the
{@link JSON}

@param iterable the source of the extensions
jackson-jr/src/main/java/feign/jackson/jr/JacksonJrEncoder.java