changed log output to hash/json style
Merge pull request #13 from sinamanbon/error_json

changed log output to hash/json style