Create a request mapper for the given targetClass using reflection
mappings over its simple properties at an arbitrary nesting level
for nesting properties.
Basic class that implements common functionality for both REST servlets
that implement a module themselves, and those that delegate implementation
to external modules.
Return the object as a String[]
The conversion is done by the following
rules:
If the object is null, a null is returned
If the object is a String[], it is casted and returned
If the object is an Object[], every element is casted to String and
a String[] is returned
If the object is a Collection, it is converted to an Object[]
and the to a String[]
Otherwise the object is converted to String and a single valued
String[] is returned