Takes an object and spits out the argv/args array as libraries like optimist would expect it.