make swarm's third param into an object of options
0.9.0