Changed metadata dictionary decoder to use correct metadata entry constructor