myrialang: update aggregation compiling

In preparation for user-defined aggregates, update the JSON format
of aggregate operators.

MUST BE MERGED SYNCHRONOUSLY WITH uwescience/myria#594, which includes the corresponding backend changes.