Need to use string for hash index so it works with json.