Refactor Linearization dictionary parsing