Convert objects to command-line args.