I am trying to insert documents into elasticsearch, they come as a format like:
{ total: 1, subtotal: 1.2, to