Fixed wrong encoding of collections (<head> instead of @head), reported by KH