Updated grunt file to include check-json task

fixes #227 and also fixes duplicate _ids