adding support to write values to param like can be done with data(), method returns $this as does ->data() when writing