optStringsFromArrayOrSingle

Returns the value mapped by name if it exists and is either a JSONArray of String or a single String value, or an empty list otherwise. If remove is true, then the mapping will be removed from the JSONObject.

E.g. "a", "b" or "a"