getJSON to console.log() to output json structure
try with
console.log(JSON.stringify(assessments));
Stringify the JSON with indentation like so :
$.getJSON( "assessments", function( assessments ) {
console.log(JSON.stringify(assessments, undefined, 2))
});
JSON.stringify(value[, replacer [, space]])
where space is the indent. MDN