build.gradle: add minimal-json for all subprojects

Growing tired of manual JSON :)

We'll use this lightweight and simple JSON implementation for stats
reporting.