changed log output to hash/json style