Added support for macros, which are the basis for exposing kairos'
custom read functionality.

Expanded pattern matching on function names.

Renamed "condensed" parameter in "/series" to "condense" to match
latest kairos.

Fixed 'stat' field in results when no function used or when using a macro