nci details code compiles
Format json properly and add a debugging call.