Fixed namespace errors
query.py: Fixed script_fields serialization if dict. Closes #409
Merge pull request #411 from aparo/develop

Merged from Develop. Fixed query serialization bug in scripting.