remove "raw" from api options