(string) conversion impossible from stdClass