Use string instead of char* when saving arguments for rest-bench