If you are trying to get rid of \ without, that part of the
@replace
should be '\'. Your example has a space in the replace part, which would only match entries that have \ followed by a space. So, at this point, your replace would look like this:
@replace(concat('{','"','value:',variables('requiredvalue'),'}'),'\','')
As for creating the string output you are after, that's as simple as adding extra parts into the strings in your concat like this:
@replace(concat('{','"value":','"',variables('requiredvalue'),'"}'),'\','')