fix endkeyobject endkeyarray trailing comma