add decoder with string and integer support