Fix dereferencing and adding users/antennas; Update json to use sstream