Update opsgenie.rb

thought I'd need to convert measurements to json