Use a custom transformer to handle params map