changed compare with None from == to is
Check for undefined temperatures and print them as null in JSON