Changed handling of json data

Changed JSON handling to support Jenkins Notifications plugin 1.5