more review fixes. use json flags with request