I finally got some of my stuff correct with regard to the arrays and JSON and returned the values.