JSON API for /words/:lang added