Serialize ids as strings in JSON-API adapter

Serialize ids as strings in JSON-API adapter.

Same as #683 but updated