SMS: Model-agnostic pricing of exotic derivatives using signatures