Send queue in JSON