Adding support for loading TSRs from yaml