to_h -> as_json