Fix metadata formatting