Simplify json plugin.