[fixed] json output for single/multi idenifiers and one or more metadata