Write a function to parse and manipulate a basic data structure, ensuring optimal readability and clean execution.