Fixes specs.

Adds empty custom values array to the generated structs, as those are
now appended on the server, even when there are no custom fields. This
also fixes minor whitespace issues.