Serialise temperature to JSon and write to debug window