implemented DB dump to list (fixes #1)