Update dump_object.py

Added support for natural keys in dump_object