only auto set the id property for remote docs, and only when an object; update tests