Text this: Towards magnetic resonance in scanning tunneling microscopy using heterodyne detection