I believe it will send a `categoryReference` property.

`equal(hash.data.categoryId, null);` also don't check if the property exist in the hash. It could be undefined, which might have different semantic meaning for the server.