added SID field and changed some properties to match the database, added a dummy toJSON function