added yaml db dump functionality