marshal incoming value into string before checking it's size