Move form cursor generation to OdkProxy.