Fixed type="vector" for vectors. Changed tagName to "vector_item" if inside a vector. More tests - really extensive tests for Compound values