Added array lists for named params. Fixed bug with date values being parsed as named params. Cleaned up some of the error reporting.  Added ability to return array or json data types on read().