Renamed json methods to better use.