As a developer I would like to manipulate values of fields property in the contentCreateStruct structure

Implemented getter and setter methods for the fields property of contenCreateStruct structure.
By making these changes I'm able to create a new content and update its fields using JS Rest Client.
https://jira.ez.no/browse/EZP-23276
nitpick, but "i;" can be just ";", looks a bit strange like this, more clear if it is clear nothing is to be done before the loop.