pickle instead of json, remove non utf-8 bytes, server queries