cli wrapper for PHP's json_decode function