First cut at StructuredArray stuff (leveraging work previously done together with Martin Thomson in his examples repository)