test to_json function