A JSON API for treebanks built with the PROIEL web application