Adding the format field to the API for SourceType mapping