complete refactor for openlitespeed with JSON reporting patch. Will no longer be compatibile with regular litspeed