Fixed mistake in parameters recvd by JSON handler.