use dictionary instead of class for JSON data