stringify dict with ordered keys

related to issue #73