Influx statmetric encoder

If there are a large number of stats (like #1035) do we want to break it up so cjson.encode doesn't throw an error. Looking output the plugin would be terminated but the output would continue to run.