Encode the unicode string to ascii
Fixes #2

Also made changes like printing the json files in order in view.py
Erroneous attribute 'attachments' is removed which would not be present unless
updated.

Signed-off-by: Venkatesh Shukla <venkatesh.shukla.eee11@iitbhu.ac.in>