SERVER-12494 Embed loops for navigation by name or index within Document