enabled yaml as input and output for the rest api