add json to pom change attributes to flash