Change: Knowledge base uses more unified structure.

No longer using asscoiative arrays (as the database outputs by default).
Now arrays are all index arrays and attributes are all object attributes.