search: output attributes in subrecs at complex

Support attributes output for sub records in complex format