a lil bit tidier... consider doing this across the board
adds a test to make sure renderFromJSON is interpreting arrays in arrays appropriately (doesn't look like it is)