Text this: Hierarchically Federated Learning in Wireless Networks: D2D Consensus and Inter-Cell Aggregation