fix methods response
parse method response to json
fix tests