Text this: Design of metamaterial thermoelectric generators for efficient energy harvesting