This function reads the IMU magnetometer and returns the output in units of gauss.
Returns a JSON-formatted string.
The output will data taken directly from the magnetometer.
Output is in units of Gauss
{
"X":-123.45,
"Y":12.5,
"Z":50.1
}