amazon product api hierarchy traversal implementation