Changed import (ordered dict) to work with the object_hook for json.