remove dependency on componentmetadata (which is now component-recordstore, btw)