test(formatter): verify that empty object is formatted to empty array