Removed reference to core-db in export functionality.

This commit depends on changes in core-db (commit 930b474) and core-api
(commit 8906be9).