Add access to metadata in query callbacks
add ID attribute to Asset