add tests to ensure that export_dict output can be passed to json library without error