Setup for API v2.  

Passing the header for v2 works
 -H 'accept:application/json,version=2

v1 is still default, so this PR shouldn't change anything