minor refactor to use callback selectItems

Did some minor refactoring so that Ovid uses callback instead of synchronous selectItems. Didn't want to refactor too much since there were no test cases.
I don't think Ovid has permalinks, which is why the test case was not included. It's nice for translator review, but it won't be useful beyond that. Please remove before merging.