Add 'all' key to function parse lookup table

'All' returns a single interger-indexed table containing both
keys and values of the target table.

Also fixes a bug with chaining logic.