Fixed hasRequiredParameters. The requiredParameters send must be a JSONArray of Objects instead of a JSONArray of Strings