Merge pull request #39 from mwiebe/arrayarg

Switches the function call interface to use a type "ndarrayarg"
Switch the kind of json_type to dynamic instead of string