Attribute autocomplete $json declared twice