Microstructures for CSPs with Constraints of Arbitrary Arity