Return valid json on membership actions