allow for JSON graphs