Converts clang code of a source file into json