search for partial names results in proper JSON.