automatic conversion of yaml data to json