Fix docToForm/formToDoc example