Attribute code wasn't correctly getting args from json