Allow image caption to be null

There is a potential discussion to be had about whether we should exclude keys
when the value is nil on optional fields, but that's for another time.