Include app names, IDs in collection APIs (bugs 906143, 906204)

r? @diox, @mattbasta