implemented hierarchical attribute type in _decode