fix formToDoc/docToForm example