Converts the ApiLayout object into the JSON object.
Specifies if the slide master will be written to the JSON object or not.