Implement lookup helper
Merge pull request #569 from wycats/lookup-helper

Unable to lookup array values using @index