Fix issue #1 : wrong number of arguments in yaml_handler. Also return th...

...e correct data value in yaml_handler