In a large pot heat olive oil and cook the onion until translucent. Add the garlic. In a saucepan heat the chicken stock. Add the torn broccoli rabe and kale and stir frequently until wilted. Add the beans to the pot and stir to combine. Add the chicken stock. Squeeze the whole tomatoes into the pot one by one and stir to combine. Add the thyme and season with salt and pepper to taste. Bring to a simmer and cook until heated through. Serve hot.