Version 0.0 of similarity stats, with JSON output

Time to test on server