[Views integration] Remove unnecessary json_encode and json_decode calls
There are some unnecessary calls to json_encode()
and json_decode()
for the params
property of CMRFDataset
entities. This MR makes the JSON be parsed in the constructor and removes the JSON-coding calls where they are not needed anymore.
Also, the method for retrieving all datasets is being simplyfied with this MR, since that was closely coupled with the JSON thing.
Edited by jensschuppe