sever side json object connected to graphs