convert expression_comparison_record array object to flat object