Utility function used to replicated purrr::transpose. Turns a list inside out.
purrr::transpose
invert(x)
x
list