[OLINGO-439] json parsing mocha test and fixes