always do w=3 when saving xform docs in cloudant
don't use dict as default function value