return single document without array in api document