Use mime library to get the content type
Added mime as dependency and bumped version
Updated JsDoc comments
Added _data subfield
Generated docs