Fix bug that context path is missing in docgen "View in JSON format" link.

RB=158603
R=si-dev,jbetz,sihde
A=jbetz