This is a very reasonable request, we certainly don't want anyone to feel vendor lock in.
We currently do not have an official API for exporting your users data. If you need to do so, please reach out to our support team and we can help you do it.
We are considering exposing this functionality through an official API in the future, but can't provide a timeline for it at this point.