jsonize if the status value is an object
add a test