conf: ensure we can encode unicode to PHP

Also, add a test that we are able to decode an UTF-8 encoded JSON
file.
Merge pull request #32 from vincentbernat/fix/unicode-php

conf: ensure we can encode unicode to PHP