IMPORTANT: no print_r in services! Output goes into the response and makes javascript fail.