Support non-numeric foreign keys for databasejoin elements in lists