fix #19436 - RequestProcessor: do not add null objects to a JsonArray (patch by taylor.smock, modified)