added an option to remove timestamp fields from json and object serialization