fix deserialization exceptions - 'Invalid JSON primitive: .'