}
if(jobj instanceof Map) {
asHash = true;
}
if (jobj instanceof Date) {
return new DateModel((Date) jobj, BeansWrapper.getDefaultInstance());
}
else if(jobj instanceof Collection) {
asSequence = true;
// FIXME: This is an ugly hack, but AFAIK, there's no better
// solution if we want to have Sets and other non-List