Switches answer from string to JSONObject.