Do not ommit claims key when empty array

Should fix #67. See #69 for the first part.

[Bug: 66791](https://bugzilla.wikimedia.org/show_bug.cgi?id=66791)