added method to list fields in the index
also added a corresponding http handler