Updated with new JSON Drools conversion.