Added test with nested JSON object.