Fix type display, section folding and showing modal term info in JSON-LD mode