add variable rest endpoints, correct d3 variable fraction settings