Resolved a NullPointerException which occurred when making a JsonWireProtocol call; masking the useful message intended for this situation, making it difficult to debug other issues.

Signed-off-by: Luke Inman-Semerau <luke.semerau@gmail.com>