added slash checking into creating json content from hash part