fix(storage): fix variable masking errors

Fix redefinition of Mongoose model object.