Use super-json instead of JSON directly - this way we can pass functions, RegExps and Dates directly