JBPM-4143 - Task query returns wrong JSON output