add __repr__ function to case states and indices and workaround case:52230
Merge pull request #27 from dimagi/cz

add __repr__ function to case states and indices and workaround case:52230