fixes for empty paramsJson