This program fails if the input object lacks both map data and value data.
