Added decimal encoder to the index json view