Move json.hpp to common
Cleanup
Rename streambuf to rdbuf
Cleanup