make JsonWriter write vehicleTypes