search and replace into serialized text