added decimation to json output