serializable_hash simplification