Remove unneeded arrays. Use true and false literals.

For this restructuring, removed unneeded arrays in favor of the objects that are already defined. Replaced strings "0" and "1" with false and true, which are part of the json spec.