The way to do this is to use a multipolygon relation. In Josm you simply draw the shape of the open area, select the inner area polygon and the outer area polygon then use Tools->Create Multiplolygon.

The wiki page at http://wiki.openstreetmap.org/wiki/Relation:multipolygon gives a general description of how multipolygons work but isn’t josm specific. It might help you with tagging.