Make sure to send object and not empty array when attributes are not provided