fixed isObject is undefined

case when you call serialize on an attr that has the converter set to default