parse layer children when listing layers to query