seems like the behavior changed a bit. https://github.com/dimagi/commcare-hq/pull/2507/files#diff-16ce9f2eb3be0695a91eca75714bb3b7L1407 (and the line after) makes it seem like this function only returned the form ids if wrap was False specified. Here you're returning the full doc