Remove our own JSON encoding in favour of native options in json_encode. Fixes #15.
Drop JSON_HEX_AMP as it messes up valid HTML codes
Merge pull request #16 from Parsely/fix/15

Fix JSON encoding issues.