cleaner json snippets