document ordering.
implementing JSON for frame.
finishing test-frame.