omitting dupl arrays in json