boolean returnsObject = gspTagLibraryLookup.doesTagReturnObject(namespace, tagName);
if (returnsObject && bodyResult != null && !(bodyResult instanceof Writer)) {
if (taglibEncoder != null) {
bodyResult=taglibEncoder.encode(bodyResult);
}
return bodyResult;
}
// add some method to always return string, configurable?