Automatically derive serialized JSON fields