format atomic-value v: T or atomic-elements inside of v: Array<T>, using the given formatter atomic-value mapping function