Asset Client and BAM event publisher re fractor

use endsWith(".json")