class for accepting and procesing JSON stringifiied data.