fix: use simplejson if json is unavailable (python version < 2.6)
fix: typo for function set_defaults