Add debug logging to getString(...) because it is slow