Fixing metadata formatting