archive/v1/format.js
function expandFields(obj) {
		var out = {};
		
		_.forEach(obj, function(val, key) {
			if (_.includes(key, '.')) {
				_.set(out, key, val);
			}
			else {
				out[key] = val;
			}
		});

		return out;
	}
function expandFields(obj) {
		var out = {};
		
		_.forEach(obj, function(val, key) {
			if (_.includes(key, '.')) {
				_.set(out, key, val);
			}
			else {
				out[key] = val;
			}
		});

		return out;
	}
function expandFields ( obj ) { var out = { } ; _ . forEach ( obj , function ( val , key ) { if ( _ . includes ( key , '.' ) ) { _ . set ( out , key , val ) ; } else { out [ key ] = val ; } } ) ; return out ; }
since filters with dot notation return field names with dots, expand those fields and remove the dot named field
since filters with dot notation return field names with dots expand those fields and remove the dot named field