* Add an extra "metadata" field to Elasticsearch logentries
The current "metadata_json" field is stored as a text field, and
cannot be searched easily. "metadata" will store the given dict as a
dynamically mapped Object type.
* Remove duplicate "metadata_json" field in Elasticsearch
Instead, json dumps the "metadata" field for the Log datatype.