Refactored specification to export tuples. hopefully they will JSON-ify to arrays