BZ-1098496 - JBPM REST returns WebApplicationException thrown with message 'null' for various operations when deployed on WebSphere

(cherry picked from commit 4d4ac86123ae7d4a5b2faabff4dbe38c0838aba5)