Moving http tiny conversion stuff into a role