refactor rabbit_config

we should use the latest pyrabbit which removes the need for this