conf: ensure we can encode unicode to PHP

Also, add a test that we are able to decode an UTF-8 encoded JSON
file.