Add dump functionality to dump data from server or manually