<?php
$input = $argv[count($argv) - 1];
$output = unserialize($input);
echo json_encode($output) . "\n";
?>