add videoport name and direction to json api