dump: add CMake-like output
dump: add CMake-like output

Write JSON by hand, it's not too difficult and we have more control on
what it looks like.

Sarcasm/compdb,Sarcasm/compdb,Sarcasm/compdb,Sarcasm/compdb