Added JSON data type, doesn't do anything special yet.
When serialising dates, auto detect if moment objects aren't being passed in.