Whatever would be simple and stable. So yaeh, JSON seems to be the obvious choice. I guess Firebase or your web-framework is already using it internally?
Export is the natural downfall of every cloud-solution. Because if people have no way to get their data, many will not bother to bound with a closed up tool.