Javascript Create Array From Json Flutter