ComplexResourceKey now tries to create key/param record templates using schemas from the key spec