Remove useless file
Echo all errors in Json encoded format
Add unique ID to the transient and show debug info in case of error. Also, set the transient as long as the response is valid (see issue #1)