refs #5896 make sure jsoncallback is not applied twice and it should be always applied for arrays