Trying to get type of what mongoose returns