Replace custom json_encode implementation with PHP 5.4 json options
Replace custom json_encode implementation with PHP 5.4 json options

Options to pretty-print and output JSON without escaped slashes have been
available since PHP 5.4. Symfony Console 3.x has a minimum PHP version
requirement of 5.5.9, so these options are now available to us.

heyday/beam