added support for passing json attributes file

/cc @opsline-radek @flah00