Custom export repeats

goes with https://github.com/dimagi/core-hq/pull/833