Use dynamic for argument, instead of var

Closes #41
Generate Map<String, dynamic> where appropriate

Closes #42
generation