Emission engineering in germanium nanoresonators