Wraps name properties and data in double quotes

Wraps name properties and data in double quotes to make it generate
valid JSON code.