add origin element if array of hashes