reworked db-api to return nested Lists instead of multi Array