setFieldIdsFromCache should acquire a read lock
don't double insert the field ids
Add an option to build with race detection
get rid of the new series object
print the series name as well
removed some unused code and fix a bug with encoding the field id