Stupidly wasn't checking structures recursively for jshint