kie-remote: fixing serialization classloading issues in kie-remote

(cherry picked from commit c1dec1861822b113a43aae768a31a6fd2ea0a4e9)