Add hash field to string and monotext handlers

This allows for indexed equality checks and sorting