Fix JSON formatting of object attachment lists in API