Created second constructor which takes a JSONObject string to use for
setting private member variables