Add compression support in getNode()