Remove Arrays as keys in templates