motion data to json to amqp