Removed bpy.context dependency from ExportJSON script.