Added JSON convert_blessed

I think you forgot to call `$json->encode($params)` here.