Editing mock input data to not contain illegal chars