more flexiblity in json response