added encoding fixing for XIPI calls, oml client mock etc..