Writer::buildFields() support non-array object. fixed comments.