Convert values to HTML entities before outputting

Avoids the page messing up when HTML is used in the value of a key.
Merge pull request #71 from khromov/patch-1

Convert values to HTML entities before outputting