cleanup function
return json output