add spam throttle
adjust json indentation