simplifying js data structures for easier parsing for win... more to go