fixed parsing for nested json

had my array []s in the wrong place