Add 'toJSON' method, which return a clone of model attributes.