[database][view] Fix output to named tuple member retrieval

This allows to properly initialise and use database views that
uses python keywords as output name.

Fixes #16
5 jobs for fix_output_name_access_on_object in 13 minutes and 55 seconds (queued for 2 seconds)