Added abstraction for exporting robots
Added class to export robots in JSON format