gh-19 Correct MIME encoding for HAL+JSON output format and support for enabling hypermedia using fof.xml and $config variables