metadata generation for single result