pushing json through api to rabbitmq