Added dump to json for TBase and load from json dump.