Add pretty print for PHP 5.3 and lower