utils for leancloud (former AVOScloud)