Compare numbers not strings in Receipt.inside()

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Encode in utf-8 before printing

TODO: find out why this is needed for gunicorn logging.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>