db.list() should return an array, not an object.

fixes #19