Added support for JSON pretty-print for PHP 5.4 users.

In `php/uaparser-cli.php`.