unwrap optional httpmethod in curl representation

Otherwise you see Optional(POST) instead of POST