Convert json attributes to AST