entity mapping convert to yaml