use json versions of iterator state to avoid datetime wrapping
use json versions of iterator state to avoid datetime wrapping

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq