fixed mongodb returning blessed value (fixes #352)