Handler for String objects instead of primitives