Add an error case
Factory-ify JSONObject creation
Add getObject() accessor
Switch constants to be subclasses and strings to avoid ""+
Plumb provisioning