Introduces type in metadata mongodb