roughed out js object for generic body/'entity'