added exporting of Word fields, added json endpoint for getting words