Removed dependency on json.