coerce empty object to empty docuemnt