Don't leak thothFieldsMappings in to global scope

#14