fixed issues with ES. problems with mapping, attachment-mapper, json parsing, and soem model functions.