fix datasources to support new model parameters

Currently it was not possible to pass different parameters for polymorphic relations and similar using json files, this commit fixes that.

Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>