Simplifying parsing and data structure building