Update hash and asserters

- Check for null in hash merging
- Update asserters to improve isNumber checks
- Add isObjectLiteral check to asserters