fixing form query and using it to create human readable labels for observation details