Convert arrays to short syntax.