A workaround to the Unity Json's class not being able to serialize top level arrays. Including such arrays in another object avoids the issue.