temp point to anchor checkout
update helpers with safe hasOwnProperty and matchMongoId
use safe hasOwnProperty
update typecast to perform casting on more types