Controller compile data in an array before sending to view; View reads data by ['y']