added HashMap export functionality