Load key formats from yaml