both json and yaml formats are supported