HARMAN interview question

parse and unparsed a structure