Support {} test case for yamlMapping