Freeze frequently allocated strings

GCing is expensive in ruby, freeze frequently allocated strings and use these constants instead of reallocating