Create template A that is in two host groups (G1 and G2).
Create template B that is in host group G1.
Export template A and B in JSON format.
template A export
template B export
Template A is exported incorrectly groups should be in array.