Fixes #3309 - Support deep merging of hash and array structures in smart class parameters
fixes #7989 - enable association parameters (<param>_id) when creating with unnested attributes in api