Handle decorated and builtIn types correctly
Handle serialization of decorated types correctly and simply return un-decorated built-in types such as dates or regex.
Handle serialization of decorated types correctly and simply return un-decorated built-in types such as dates or regex.