Made stream.hpp not use jsons.
Removed unused function rget_data_cmp.
Removed some unnecessary includes.