changed metadatum to be serializable and set up search interfaces