changed the default to JSON.