Hotfix: removed json decoding. Error with echo trying to output an array