Add options to request_sources for json and raw output