foo.subArray[2] = new SubFoo("Array-sub3", "Sub1-value");
String output = serializer.serializeTo(foo, "Foo", "http://www.cloud.com/S3", 0);
logger.info(output);
serializer = new XSerializer(new XSerializerJsonAdapter());
output = serializer.serializeTo(foo, "Foo", "http://www.cloud.com/S3", 0);
logger.info(output);
}