I've found (maybe) a solution to #61 and #62, which requires only small changes to objectPascalServiceClient.js and package.json (see the attached files)