vars\helpers\Value::toStorage(): Prepares a value to saving in a storage