Support for prototypes in stringify and parse