Hash collections and arbitrary JS objects