Revert "Edit Public API. Use Object to describe key/value collections instead of Record because this is a little more intuitive to native programmers"

This reverts commit 366895bed83d2e543c2b73ec192c99817650856d.