Fix unicode handling in EntrySpec.to_json_dict()

This should fix issue #27.