Removed problematic characters in json output

spaces replaced with underscore

slashed replaced with dashes