hack fix for parsing objects with functions, regexes, and dates