making format handling more coherent across resources