Strip byte order mark

JSON response by some servers added an unnecessary byte order mark which
would cause Jackson to throw an exception. This commit strips the
character from the response string before creating the InvocationResult.