Extracting a new method to verify SNS JSON messages using an already parsed Map object

I need to verify a SNS's Notification message and already have the message parsed into a Map. To avoid building the JSON again or parsing it twice, I extracted the `verifySignature` method and created a version that accepts a map.