trying to work on new method for dict.dump