replying with json to get requests

fixes https://github.com/OpenSourceFieldlinguistics/FieldDB/issues/1683