Allow ToJson to skip fields with bad types if desired

Add a new constructor that lets you tell ToJson to skip types not yet supported by json (map, byte, etc.)