Fix spec test for rabbitmq_queue type to check json output.