serialize record id when PUTing