snipet json formatting