json.php replaced

json.php replaced by PHP 5.4 JSON_PRETTY_PRINT
Method.php broken into smaller classes