[datastream] rewrite datastream configuration

WIP: works for testing/middlewares/ros/video_camera.py