cmBuildDatabase: Use cmJSONState to read mcdb's

This approach will be more portable.
1 file changed