//
// for all non-void methods, we need to find the serializer
// for the return type, then determine if it's an array and
// deal with it accordingly
//
SerializerRegistry registry = SerializerRegistry.getInstance();
Serializer ser = registry.getSerializer(returnType);
//
// for complex types, we need a child element under the
// response body element
//