Stubs for json and yaml