change arguments attr to JSON array with wildcards and strings