Allow Json Encoding Options To Be Set On The Json Response

The options available are documented here: http://php.net/manual/en/json.constants.php.