Fix parsing of numeric[], previously returning array of ints

Closes #304, includes testcase