Fixing GET /tenants rest api method