- Fixed escapeValue() method crashing when a string contains \r or \n
- Changed Date serialization format