formalized enum<==>string, moved this functionality to janus_io