the "options" param is not used in toJSON() method, remove it.