SUP-520 #comment Fix Categories saved with spaces in the beginning
Added toObject func to trim the name property and only than continue
to the parent toObject
Merge pull request #74 from kaltura/IX-9.0.0-SUP-520

SUP-520 #comment Fix Categories saved with spaces in the beginning