Fix serialization of BlockDeviceMappings for autoscale