Fixes null pointer exception when client metric data is not properly formed

A recent 3D-LIVE experiment revealed that the database export process can be
interrutped unexpectedly if the metric model contain entities without
attributes. This updates checks for this condition and handles it more
gracefully.
Merge branch 'master' of glab-i1.it-innovation.soton.ac.uk:experimedia/ecc
Fixes docs