[kmf-jsonrpcconnector-test] Fixed bug in MessageUtils

Change-Id: I49c2153cf08662ac27dc98d333cc11eb1688b6ab