Move json.hpp to common