changed metadatum to be serializable and set up search interfaces

ignore last part, but first part valid