Referee marshals between nested maps and Java object hierarchies