Check for valid JSON on load.