proxy-server.js
// Each property has as value an array with length 1 - take first element
Each property has as value an array with length 1 - take first element
Each property has as value an array with length 1 - take first element
function mapVertexPropertiesToObj(propInObj) {
    let propOutObj = {};
    Object.keys(propInObj).forEach(k => propOutObj[k] = propInObj[k][0]);
    return propOutObj;
}
function mapVertexPropertiesToObj ( propInObj ) { let propOutObj = { } ; Object . keys ( propInObj ) . forEach ( k => propOutObj [ k ] = propInObj [ k ] [ 0 ] ) ; return propOutObj ; }
Each property has as value an array with length 1 - take first element
Each property has as value an array with length 1 - take first element