accept arrays in fromjson for top level