Adds export SQL to JSON
Fixes typo