According to your code from fetchObjectAttributeHttpInput it uses data_int AND (for some strange reason) data_text. This does not seems to be reflected in the fromString code.
And as Marco asked about I assume 'id' is the identifier of the attribute with this datatype as setup in the Content Class(?).