Made batch size smaller, fixed to_json, added put