if the yaml isn't a string, just pass through so we can provide a pre-decoded spec