Added JSON check