Trying to clean up string for parsing