fixes #5655 - sending correct json for ktenvironments paths

![dance3](https://cloud.githubusercontent.com/assets/86290/3925717/8b0cd31e-23ea-11e4-9796-98e7a252c514.gif)