Reader fields indexed were not getting indexed as StringReader is not serializable. Fixed it by indexing the toString of the StringReader