Add predictable ACTIVITY_RESULT_CODE.
Update to pass JSONArray in Bundle