@Override
    public void serialize(
            DateTime value,
            JsonGenerator jgen,
            SerializerProvider provider) throws IOException {

        jgen.writeString(DateUtils.formatISO8601Date(value));
    }
A Jackson serializer for Joda {@code DateTime}s.
aws-java-sdk-core/src/main/java/com/amazonaws/internal/DateTimeJsonSerializer.java