toJson

Creates a JSON object from screen configuration object.