container component can optionally take a list of entities that go in it. _extends JSON magic is now recursive.
fixed bug in recursive _extend, and container component