Able to generate a json response working with both jira 4 and 5.