Fix arrayToJSExcluding function of INTER-Mediator.php if the second parameter is empty