Curves should be strings not bytes