Clean up code using bluesky_string_from_gstring.