status_code_to_str no longer uses RB lookups

I don't know why I decided to use RB lookups for status code -> string, it's
just overhead that isn't needed. Swapped it out for a more simple switch/case
method.