added sanitization functionality, and put in place some changes for reindexing multi fields on save to preserve the proper keys