Removed unused options attribute in toJSON