restructured getPortContentAsText(), add readable value to base/time

Isn't this "if" supposed to be removed ?