I'm not sure why you have the square brackets in there.
This works
"name"="Vin Test package"
"description"="Vineeth Test package for export"
"contents"= "bc3f4cbc-a697-4da4-b275-2161bc0d561f"
}
$contentjson=$contentneedtojson |ConvertTo-Json
$contentjson
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference