clarified the types that should be passed to the API. Previously, api methods accepted an Object but it was not clear that this could be either a JSONObject or JSONArray nor was it clear which implementation of those classes was expected. Also, it seemed like maybe a string would be acceptable. So I created helper methods that clarify exactly what type of object the API expects.