Check return value from json_decode against null absolutely to prevent false
positives