System for translating URL-style paths and parameters into document traversals in mongodb