add reference to to_json() method in README