constantize node key retrieval
optimize empty array/map/dict singleton