Fixed obvious bug with new serializeModel and added support for one nested es_no_index flags