API to emit problems using the Gradle Problems API data model