elasticsearch::model compatible adapter. fixes for :select attrs with as_json