https://www.php-resource.de/forum/php-developer-forum/104391-echo-json-in-attribut