add to_json, update readme