rethinkdb: forEach and use keys other than strings