Immutable data getters

Added the simple ability to get immutable versions of the data to better
optimize late binding for bet_string.