Add buggy JSON export
2 hours looking for damn json-bug. Problem was an empty table. #22 closed.