Minor: updated util.py
Added attributes parsing utility + tests, updated cache attributes (#11)