hmm sorry about the confusion. i think what's more useful is the function that takes the app, module index, form index, and case id and turns it into a url. the xmlns and `app_dict` stuff is too specific to m4change. was thinking it was the very simple equivalent to: https://github.com/dimagi/commcare-hq/blob/master/corehq/apps/cloudcare/static/cloudcare/js/util.js#L21