Fix documentation to_json -> dump